//
//  ViewModel.swift
//  fho
//
//  Created by 郭颢源 on 2021/4/15.
//

import UIKit
import RxCocoa
import RxSwift

class ViewModel: BaseViewModel<JSLoginApi> {
    func requestRecome(completed: @escaping (_ model: Model) -> ()){
        
//        provider.rx.request(.recommend).asObservable().mapModel(Model.self).subscribe(onNext: { model in
//                completed(model)
//            }, onError: { error in
//                print(error)
//            }, onCompleted: nil, onDisposed: nil).disposed(by: disposeBag)

        HttpRequest.GET("", nil) { (result:BaseResponse<BiModel>) in
            
        }
        }
    
    
}
